<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> 
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt"prefix="fmt" %>

<ul id="allmsglist">
<c:forEach items="${privateLetters}" var="item" >
		<li href="#" class="msg-item clr read" id="letter_${item.id }">
			<div class="pro-pic" ><a href="#"><img width="48" height="48" src="${item.friendPhoto}"></a></div>
			<div class="msg-content" > <span class="pr"><a href="friend_friends_home.htm?userId=${item.friendUserId}" class="msg_username">${item.friendPetName }</a><b id="b1"><a class="graylk"  href="javascript:deletePrivetters('letter_${item.id }','${item.friendUserId }')">删除</a></b></span>
				<p  onclick="showDetails('${item.friendUserId }')">${item.contents }</p>
				<span class="msg-c"><fmt:formatDate value="${item.sendTime }" type="both" /> <b>${item.letterNum }条私信</b></span> </div>
		</li>
</c:forEach>
</ul>
		